﻿<!--
    Document   : index
    Created on : 2009-2-28, 15:12:59
    Author     : Shang Tao
-->
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Mainframe 主机 大型机 - We are mainframeR</title>
        <link rel="stylesheet" type="text/css" media="screen" href="/css/mainframer.css"/>
        <style>
            a.login {
                color:black;
            }
            a.login:hover {
                color:black;
            }
            a.login:visited {
                color:black;
            }
            a,a:visited,a:hover {
            text-decoration: none;
            color:#666666;
            font-size:13px;
            }
            body,td{
                font-size:12px;
                font-family:"宋体";
            }
            span.keyname{
                font-size:14px;
            }
        </style>
    </head>
    <body style="margin:2px 3px 0 0;">
        <div align="right">
                 <a href="/iask/userlogin.mrqa" class="login">登录</a>&nbsp;|&nbsp;<a href="/iask/user.mrqa?action=preadd" class="login">注册</a>&nbsp;&nbsp;
        </div>
        <br><br><br><br><br><br>
        <div align="center">
                            <table align="center" cellpadding="0" cellspacing="0" border="0" width="400">
                                <tr>
                                    <td align="right" width="300"><img src="images/index-mr.jpg" alt="mainframeR"/></td>
                                    <td width="10"></td>
                                </tr>
                            </table>
        </div>
        <br/>
        <div align="center" width="100%">
            <table cellpadding="0" cellspacing="0" border="0" width="400">
                    <tr>
                        <td width="100%">
                            <table align="center" cellpadding="0" cellspacing="0" border="0" width="400">
                                <tr>
                                    <td align="right" width="290"><input id="keyword" type="text" name="keyword" value="" size="40" maxlength="50"></td>
                                </tr>
                            </table>
                            <table align="center" cellpadding="0" cellspacing="0" border="0" width="400">
                                <tr>
                                    <td width="14"></td>
                                    <td><input id="area_iask" type="radio" name="area" value="iask" checked/><span class="keyname">职场搜索</span></td>
                                    <td><input id="area_sf" type="radio" name="area" value="sf"/><span class="keyname">资料搜索</span></td>
                                    <td align="left">&nbsp;&nbsp;<input type="image" alt="站内搜索" src="images/index-isearch.jpg" onclick="javascript:onSubmit();"/></td>
                                    <!-- <td><input id="area_news" type="radio" name="area" value="news"/><span class="keyname">资讯搜索</span></td> -->
                                    <td width="100">&nbsp;</td>
                                </tr>
                            </table>
                        </td>
                    </tr>
            </table>
            <form action="/blog/default/" method="post" name="newsSearchForm">
                <input type="hidden" name="query"/>
            </form>
        </div>
        <br><br>
<div id="footer" style="background-color:white;height:80px;" width="100%" align="center">
   <table border="0" cellpadding="0" cellspacing="0" width="550" align="center">
       <tr>
           <td height="30" align="center" valign="bottom">
                    <a href="/">首页</a>&nbsp;|&nbsp;
                    <a href="/private.html">隐私条款</a>&nbsp;|&nbsp;
                    <a href="/law.html">法律声明</a>&nbsp;|&nbsp;
                    <a href="mailto:mainframer.cn@gmail.com">联系我们</a>&nbsp;|&nbsp;
                    <a href="/about.html">关于网站</a>&nbsp;|&nbsp;
                    <class="beian"><a href="http://www.miibeian.gov.cn/">沪ICP备07024607号</a>&nbsp;|&nbsp;
                    <script src="http://s91.cnzz.com/stat.php?id=1594096&web_id=1594096&show=pic" language="JavaScript" charset="gb2312"></script>
                    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
                    </script>
                    <script type="text/javascript">
                           _uacct = "UA-2818836-1";
                           urchinTracker();
                    </script>
           </td>
       </tr>
       <tr>
           <td height="7"></td>
       </tr>
       <tr>
            <td align="center"><p>Copyright &copy; 2007-2009 mainframeR.cn All Rights Reserved</p><br></td>
       </tr>
   </table>
</div>
    <script>
    //alert("test");
    function onSubmit()
    {
        //var area_news = document.getElementById("area_news");
        var area_iask = document.getElementById("area_iask");
        var area_sf = document.getElementById("area_sf");
        var area;
        //if(area_news.checked)area = "news";
        if(area_iask.checked)area = "iask";
        if(area_sf.checked)area = "sf";
        if(area == null)return false;
        var keyword = document.getElementById("keyword").value;
        var action = null;
        if(area == "news")
        {
            if(keyword.length > 0)
            {
                var newsSearchForm = document.newsSearchForm;
                newsSearchForm.query.value = keyword;
                newsSearchForm.submit();
                return;
            }
            else
                action = "/blog/default/";
        }
        else if(area == "iask")
        {
            if(keyword.length > 0)
                action = "/question.mrqa?action=search&title="+keyword;
            else
                action = "/question.mrqa?action=list"
        }
        else if(area == "sf")
        {
            if(keyword.length > 0)
                action = "/sf.mrqa?action=search&name="+keyword;
            else
                action = "/sf.mrqa?action=list";
        }
        if(action != null)
        document.location.href = action;
    }
    </script>
    </body>
</html>
